package javaEEBasic.day04;

public class Test01 {
    public static void main(String[] args) {
        Movie[] movies = new Movie[4];
        movies[0] = new Movie("唐顿庄园", 1, 9.5, 9.5, "维吉尼亚·沃森", "杰森·斯坦森", "美国");
        movies[1] = new Movie("无间道", 2, 9.0, 9.2, "刘德华", "梁朝伟", "中国");
        movies[2] = new Movie("肖申克的救赎", 3, 9.7, 9.8, "蒂姆·罗宾斯", "摩根·弗里曼", "美国");
        movies[3] = new Movie("千与千寻", 4, 8.9, 9.0, "柊瑠美", "入野自由", "日本");
        MovieOperator movieOperator = new MovieOperator(movies);
        movieOperator.printAllMovies();
        movieOperator.searchMovieById(2);
    }
}
